import dotenv
from langchain_huggingface import  HuggingFaceEndpointEmbeddings

dotenv.load_dotenv()
embeding = HuggingFaceEndpointEmbeddings(model="Qwen/Qwen3-Embedding-8B",)

query_vector = embeding.embed_query("你好我是博小睿， 喜欢篮球")
print(query_vector)
print(len(query_vector))